<?php
/**
 * 项目进度
 * Created by PhpStorm.
 * User: zhan
 * Date: 2018/11/5  16:57
 */
namespace app\api\controller;
class Schedule extends Base
{
    //检查权限作用域
    protected $beforeActionList  = [
        'checkPrimaryScope' => [
            'except' => 'except'
        ],
    ];

    /**
     *   列表
     */
    public function scheduleList(){
        $scheduleList =  (new \app\api\logic\Schedule())->scheduleList();
        return $this->ajaxReturn($scheduleList);
    }

    /*
    *编辑
    */
    public function scheduleEdit()
    {
        $scheduleEdit =  (new \app\api\logic\Schedule())->scheduleEdit();
        return $this->ajaxReturn($scheduleEdit);
    }
}